package com.wzdigit.wms.basic.client.response.basic;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.wzdigit.wms.basic.client.BasicResponse;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 批次属性规则明细 输出
 * @author yangdongjie
 * @LotAttr.java
 * @2021年1月19日下午2:01:04
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class LotAttrDtlResponse extends BasicResponse {

	private static final long serialVersionUID = 7068815675227838341L;

	/**
	 * 批次属性明细ID
	 */
	@ApiModelProperty(value = "批次属性明细ID", required = true)
	private Integer lotAttrDtlId;
	
	/**
	 * 批次属性ID
	 */
	@ApiModelProperty(value = "批次属性ID", required = true)
    private Integer lotAttrId;

	/**
	 * 属性，暂时固定最多12个属性
	 */
	@ApiModelProperty(value = "属性", required = true)
    private String attr;
	
	/**
	 * 属性代码，对应字段名，例如属性1，ATTR=LOT_ATTR_1,ATTR_CODE=PRD_DATE，可供选择的属性名称及其代码需在数据字典中定义
	 */
	@ApiModelProperty(value = "属性代码", required = true)
    private String attrCode;

	/**
	 * 输入控制
	 */
	@ApiModelProperty(value = "输入控制", required = true)
    private String inputCtrl;

	/**
	 * 格式
	 */
	@ApiModelProperty(value = "格式", required = true)
    private String format;

	/**
	 * 是否关键属性
	 */
	@ApiModelProperty(value = "是否关键属性", required = true)
    private String isKeyAttr;

	/**
	 * 属性选项
	 */
	@ApiModelProperty(value = "属性选项", required = true)
    private String attrOpt;

	/**
	 * 用于批次号表中与批次属性值对应，顺序=1->批次属性1，顺序=2->批次属性2，依次类推，暂时固定1-12
	 */
	@ApiModelProperty(value = "属性顺序", required = true)
    private Integer attrSeq;

	/**
	 * 收货校验
	 */
	@ApiModelProperty(value = "收货校验", required = true)
    private Integer inboundCheck;

	/**
	 * 发货校验
	 */
	@ApiModelProperty(value = "发货校验", required = true)
    private Integer outboundCheck;

	/**
	 * 用于前端页面显示属性名称
	 */
	@ApiModelProperty(value = "前端页面显示属性名称", required = true)
    private String attrLable;

	/**
	 * 是否显示
	 */
	@ApiModelProperty(value = "是否显示", required = true)
    private Integer isDisplay;

	/**
	 * 是否有效
	 */
	@ApiModelProperty(value = "是否有效", required = true)
    private Integer isEnabled;
}